Back to the Vavoom Forum Archives
Crimson Wizard
<class name="HexenWeapon">
...........
<prop_name name="HexenWeapon.MeleeSound" property="MeleeSound" />
...........
</class>
And in decorate I write simply like:
actor MyNewWeapon : HexenWeapon
{
HexenWeapon.MeleeSound "SoundName"
}
And that works.
But then I add boolean property (flag):
<class name="HexenWeapon">
...........
<flag name="HexenWeapon.MagicMelee" property="bMagicMelee" />
...........
</class>
And in decorate I write:
actor MyNewWeapon : HexenWeapon
{
+HexenWeapon.MagicMelee
}
Upon launching the game Vavoom displays an error, like "unknown flag magicmelee".
Then tried to define this flag differently:
<class name="HexenWeapon">
...........
<flag name="MagicMelee" property="bMagicMelee" />
...........
</class>
And that worked, even though in decorate script this proeprty was still referenced as HexenWeapon.MagicMelee.Janis Legzdinsh